package com.yaoxian.api.service;

import com.yaoxian.api.domain.UserEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
	* @author YaoXian
	* @title: MemberService
	* @projectName 微服务项目架构
	* @description: TODO
	* @date 2020-07-02 13:46
	*/
public interface MemberService {
		/**
			* 根据用户名获取用户
			* @param username
			* @return UserEntity
			*/
		@RequestMapping(path = "/getMember")
		UserEntity getMember(@RequestParam("username") String username);
}
